<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:15:19 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git multi-pack-index</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Git">
                                Git                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="1ce2094d5a6040c0b026a09d31d6fa0e779f3b89e830ef8c8dab29ba1fab167a/36" data-source="git-multi-pack-index" onmousemove="i18n(this)">git-multi-pack-index</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="58e87b4a72b1d3d09acbee5b7a959b780653680234cb056b96dbf35d46734397/da" data-source="git-multi-pack-index - Write and verify multi-pack-indexes" onmousemove="i18n(this)">git-multi-pack-index &mdash; &pcy;&icy;&scy;&acy;&tcy;&softcy; &icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&tcy;&softcy; &mcy;&ucy;&lcy;&softcy;&tcy;&icy;&pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ycy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-perl">git multi-<span class="hljs-keyword">pack</span>-<span class="hljs-keyword">index</span> [--object-dir=&lt;dir&gt;] [--[<span class="hljs-keyword">no</span>-]bitmap] &lt;<span class="hljs-function"><span class="hljs-keyword">sub</span>-<span class="hljs-title">command</span>&gt;</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="c12452af9c159d9992b1e7051a77e72216dbb24136e58deb0b0bab93bb013092/a9" data-source="Write or verify a multi-pack-index (MIDX) file." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; &mcy;&ucy;&lcy;&softcy;&tcy;&icy;&pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ocy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; (MIDX).</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-multi-pack-index.txt---object-dirltdirgt"><span data-i18n="f5e1fd06fe979dac08ad26b0281557e9584147dd3dc59cebe117fa89428144a2/0f" data-source="--object-dir=&amp;lt;dir&amp;gt;" onmousemove="i18n(this)">--object-dir=&lt;dir&gt;</span></dt> <dd> <p><span data-i18n="6765af82170567b9bee7ef0bf070f95bf3ba01abc59e43d5dc26e0aa2fcd5df3/30" data-source="Use given directory for the location of Git objects. We check &lt;code&gt;&amp;lt;dir&amp;gt;/packs/multi-pack-index&lt;/code&gt; for the current MIDX file, and &lt;code&gt;&amp;lt;dir&amp;gt;/packs&lt;/code&gt; for the pack-files to index." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;  Git . &Mcy;&ycy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&mcy;  <code>&lt;dir&gt;/packs/multi-pack-index</code>  &ncy;&acy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; MIDX-&fcy;&acy;&jcy;&lcy;&acy; &icy;  <code>&lt;dir&gt;/packs</code>  &ncy;&acy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&khcy; &pcy;&acy;&kcy;-&fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> <p><span data-i18n="3876441814afaca77681ac8e95b2d36e91e78f913e2344cafc356440e96ff8ef/36" data-source="&lt;code&gt;&amp;lt;dir&amp;gt;&lt;/code&gt; must be an alternate of the current repository." onmousemove="i18n(this)"><code>&lt;dir&gt;</code>  &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &bcy;&ycy;&tcy;&softcy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ocy;&jcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy;&ucy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt---no-progress"><span data-i18n="e094d5f2961aee2bc8c20dce73d62eab5ea5b47771c56af419ae49d1e97e0635/4d" data-source="--[no-]progress" onmousemove="i18n(this)">--[no-]progress</span></dt> <dd> <p><span data-i18n="7cf80119b821113bdd7d4108e58b15640b98332b8b69dec8d3fd829a020ad365/13" data-source="Turn progress on/off explicitly. If neither is specified, progress is shown if standard error is connected to a terminal. Supported by sub-commands &lt;code&gt;write&lt;/code&gt;, &lt;code&gt;verify&lt;/code&gt;, &lt;code&gt;expire&lt;/code&gt;, and `repack." onmousemove="i18n(this)">&Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;/&vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &pcy;&rcy;&ocy;&gcy;&rcy;&iecy;&scy;&scy; &yacy;&vcy;&ncy;&ocy;. &IEcy;&scy;&lcy;&icy; &ncy;&icy; &ocy;&dcy;&icy;&ncy; &icy;&zcy; &ncy;&icy;&khcy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &pcy;&rcy;&ocy;&gcy;&rcy;&iecy;&scy;&scy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &kcy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;&ucy; &pcy;&ocy;&dcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&acy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&acy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;. &Pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&dcy;&kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;  <code>write</code> ,  <code>verify</code> ,  <code>expire</code>  &icy; `repack.</span></p> </dd> </dl> </div> <p><span data-i18n="1e77721485997ea09b607bbaa89f9239cf76a4ce3dbca61c4c2c755cfd294988/c3" data-source="The following subcommands are available:" onmousemove="i18n(this)">&Dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &pcy;&ocy;&dcy;&kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;:</span></p> <div> <dl> <dt id="Documentation/git-multi-pack-index.txt-write"><span data-i18n="10fd874b68dad080ed706762c8e163dabb20514bddae38fb159c56f714a3b143/7a" data-source="write" onmousemove="i18n(this)">write</span></dt> <dd> <p><span data-i18n="466fdcb29da57e6ad5dd7d96354a3e5281cc252d15e7af122f1b87e6759cd432/ad" data-source="Write a new MIDX file. The following options are available for the &lt;code&gt;write&lt;/code&gt; sub-command:" onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; MIDX. &Dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>write</code>  &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;:</span></p> <div> <div> <div> <dl> <dt id="Documentation/git-multi-pack-index.txt---preferred-packltpackgt"><span data-i18n="fc15c6a4072d288db8186e59e148653d546a7122dae36f05e10984f0d7c7b77f/3b" data-source="--preferred-pack=&amp;lt;pack&amp;gt;" onmousemove="i18n(this)">--preferred-pack=&lt;pack&gt;</span></dt> <dd> <p><span data-i18n="387d50f9d39a9e226ab4fa819c038a7f439e3e70b4089c4f1d318e9578a0e298/a3" data-source="Optionally specify the tie-breaking pack used when multiple packs contain the same object. &lt;code&gt;&amp;lt;pack&amp;gt;&lt;/code&gt; must contain at least one object. If not given, ties are broken in favor of the pack with the lowest mtime." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &pcy;&acy;&kcy;&iecy;&tcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&jcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &ocy;&dcy;&icy;&ncy; &icy; &tcy;&ocy;&tcy; &zhcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;.  <code>&lt;pack&gt;</code>  &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;&softcy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &ocy;&dcy;&icy;&ncy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;. &IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &ncy;&icy;&chcy;&softcy;&yacy; &rcy;&acy;&zcy;&rcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ucy; &pcy;&acy;&kcy;&iecy;&tcy;&acy; &scy; &ncy;&acy;&icy;&mcy;&iecy;&ncy;&softcy;&shcy;&icy;&mcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&iecy;&mcy; mtime.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt---no-bitmap"><span data-i18n="1aa2f7547df8b975bf479567e43c98bbb0afc1a9d6ce42688c1d74ffa7719118/33" data-source="--[no-]bitmap" onmousemove="i18n(this)">--[no-]bitmap</span></dt> <dd> <p><span data-i18n="093e340124a602bf8ac243237aa6f6071ea92a867b98c7849f7fee6d7ce8af84/66" data-source="Control whether or not a multi-pack bitmap is written." onmousemove="i18n(this)">&Kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy;, &bcy;&ucy;&dcy;&iecy;&tcy; &lcy;&icy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &rcy;&acy;&scy;&tcy;&rcy;&ocy;&vcy;&ocy;&iecy; &icy;&zcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&iecy; &scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&acy;&mcy;&icy;.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt---stdin-packs"><span data-i18n="2359a2460af3fcfd71a0758a58865df52b6bdf10626497787cf4d760029b178a/2a" data-source="--stdin-packs" onmousemove="i18n(this)">--stdin-packs</span></dt> <dd> <p><span data-i18n="77ac63dee061523dc32b30bc6449069a98e5e89cf40986da94e2705b62a636b0/2a" data-source="Write a multi-pack index containing only the set of line-delimited pack index basenames provided over stdin." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ncy;&acy;&bcy;&ocy;&rcy; &bcy;&acy;&zcy;&ocy;&vcy;&ycy;&khcy; &icy;&mcy;&iecy;&ncy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ocy;&vcy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;&mcy;&icy;, &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &chcy;&iecy;&rcy;&iecy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&vcy;&ocy;&dcy;.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt---refs-snapshotltpathgt"><span data-i18n="1e5bb5d0d8d64bbf6ad31482e38b365221f7e56e466b8e61357fd68e734bff1a/ca" data-source="--refs-snapshot=&amp;lt;path&amp;gt;" onmousemove="i18n(this)">--refs-snapshot=&lt;path&gt;</span></dt> <dd> <p><span data-i18n="89954deeb12b3fe15728d17a8e0804a492178c7cdf1351a4b30bb1935b5362ac/94" data-source="With &lt;code&gt;--bitmap&lt;/code&gt;, optionally specify a file which contains a &amp;quot;refs snapshot&amp;quot; taken prior to repacking." onmousemove="i18n(this)">&Dcy;&lcy;&yacy;  <code>--bitmap</code>  &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy;  &quot;refs snapshot&quot; , &scy;&ncy;&yacy;&tcy;&ycy;&jcy; &dcy;&ocy; &pcy;&iecy;&rcy;&iecy;&ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&icy;.</span></p> <p><span data-i18n="b77cccea41290c5ee3d2d8ff9b92226aa189793dbfefce2345edf7e5fa20568c/98" data-source="A reference snapshot is composed of line-delimited OIDs corresponding to the reference tips, usually taken by &lt;code&gt;git repack&lt;/code&gt; prior to generating a new pack. A line may optionally start with a &lt;code&gt;+&lt;/code&gt; character to indicate that the reference which corresponds to that OID is &amp;quot;preferred&amp;quot; (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;&amp;apos;s &lt;code&gt;pack.preferBitmapTips&lt;/code&gt;.)" onmousemove="i18n(this)">&Ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ycy;&jcy; &scy;&ncy;&icy;&mcy;&ocy;&kcy; &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &icy;&zcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;&mcy;&icy; OID, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ycy;&mcy; &pcy;&ocy;&dcy;&scy;&kcy;&acy;&zcy;&kcy;&acy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &scy;&ocy;&zcy;&dcy;&acy;&yucy;&tcy;&scy;&yacy;  <code>git repack</code>  &pcy;&iecy;&rcy;&iecy;&dcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&iecy;&mcy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;. &Scy;&tcy;&rcy;&ocy;&kcy;&acy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&ocy;&ncy;&acy;&lcy;&softcy;&ncy;&ocy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&tcy;&softcy;&scy;&yacy; &scy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&acy;  <code>+</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ecy;&tcy;&ocy;&mcy;&ucy; OID, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  &quot;preferred&quot;  (&scy;&mcy;.  <code>pack.preferBitmapTips</code> <a href="git-config.html">git-config[1]</a> ).</span></p> <p><span data-i18n="7f963651ca8f04306959cc2ba7d7a96d187abdc5f575d725544c02133836369a/27" data-source="The file given at &lt;code&gt;&amp;lt;path&amp;gt;&lt;/code&gt; is expected to be readable, and can contain duplicates. (If a given OID is given more than once, it is marked as preferred if at least one instance of it begins with the special &lt;code&gt;+&lt;/code&gt; marker)." onmousemove="i18n(this)">&Ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &pcy;&ocy; &acy;&dcy;&rcy;&iecy;&scy;&ucy;  <code>&lt;path&gt;</code> , &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy;&ncy; &dcy;&lcy;&yacy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;&softcy; &dcy;&ucy;&bcy;&lcy;&icy;&kcy;&acy;&tcy;&ycy;. (&IEcy;&scy;&lcy;&icy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; OID &ucy;&kcy;&acy;&zcy;&acy;&ncy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&acy;, &ocy;&ncy; &pcy;&ocy;&mcy;&iecy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&chcy;&tcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy;, &iecy;&scy;&lcy;&icy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &ocy;&dcy;&icy;&ncy; &iecy;&gcy;&ocy; &ecy;&kcy;&zcy;&iecy;&mcy;&pcy;&lcy;&yacy;&rcy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy;&ocy; &scy;&pcy;&iecy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&acy;  <code>+</code> ).</span></p> </dd> </dl> </div> </div> </div> </dd> <dt id="Documentation/git-multi-pack-index.txt-verify"><span data-i18n="a12dd3a7fd3203a452eb34d91a9be20569d5e337a3384347068895c07f3e0c5a/69" data-source="verify" onmousemove="i18n(this)">verify</span></dt> <dd> <p><span data-i18n="67001778f348b21a84a19693dac436aec42d51d007707e470139297c642333c9/3f" data-source="Verify the contents of the MIDX file." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; MIDX.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt-expire"><span data-i18n="b2dae5aed5b773b62caae90bad5723ecd889f728a560bf39ef9c4e8cc16c7775/f9" data-source="expire" onmousemove="i18n(this)">expire</span></dt> <dd> <p><span data-i18n="a8c2befc5362cb6f3286755b37e0ac8a12144e0ff0428c927e089e4ef4f73fa8/65" data-source="Delete the pack-files that are tracked by the MIDX file, but have no objects referenced by the MIDX (with the exception of &lt;code&gt;.keep&lt;/code&gt; packs and cruft packs). Rewrite the MIDX file afterward to remove all references to these pack-files." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy; MIDX, &ncy;&ocy; &ncy;&iecy; &icy;&mcy;&iecy;&yucy;&tcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; MIDX (&zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;  <code>.keep</code>  &icy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy; Cruft). &Pcy;&ocy;&scy;&lcy;&iecy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; MIDX, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ncy;&acy; &ecy;&tcy;&icy; &fcy;&acy;&jcy;&lcy;&ycy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-multi-pack-index.txt-repack"><span data-i18n="cf6ab42a03caafffe2ae5b23e3caa20edf779b879303c129086995e27542fdff/a6" data-source="repack" onmousemove="i18n(this)">repack</span></dt> <dd> <p><span data-i18n="545789cdb33fa986e7702c4a07af92e4b19eb1d2f6d3d5918d2a1f774219a6ec/4e" data-source="Create a new pack-file containing objects in small pack-files referenced by the multi-pack-index. If the size given by the &lt;code&gt;--batch-size=&amp;lt;size&amp;gt;&lt;/code&gt; argument is zero, then create a pack containing all objects referenced by the multi-pack-index. For a non-zero batch size, Select the pack-files by examining packs from oldest-to-newest, computing the &amp;quot;expected size&amp;quot; by counting the number of objects in the pack referenced by the multi-pack-index, then divide by the total number of objects in the pack and multiply by the pack size. We select packs with expected size below the batch size until the set of packs have total expected size at least the batch size, or all pack-files are considered. If only one pack-file is selected, then do nothing. If a new pack-file is created, rewrite the multi-pack-index to reference the new pack-file. A later run of &lt;code&gt;git multi-pack-index expire&lt;/code&gt; will delete the pack-files that were part of this batch." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &vcy; &ncy;&iecy;&bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; multi-pack-index. &IEcy;&scy;&lcy;&icy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;, &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&jcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&mcy;  <code>--batch-size=&lt;size&gt;</code> , &rcy;&acy;&vcy;&iecy;&ncy; &ncy;&ucy;&lcy;&yucy;, &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &pcy;&acy;&kcy;&iecy;&tcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &vcy;&scy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; multi-pack. &Dcy;&lcy;&yacy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&acy; &pcy;&acy;&kcy;&iecy;&tcy;&acy; &vcy;&ycy;&bcy;&iecy;&rcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;, &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&vcy; &pcy;&acy;&kcy;&iecy;&tcy;&ycy; &ocy;&tcy; &scy;&acy;&mcy;&ycy;&khcy; &scy;&tcy;&acy;&rcy;&ycy;&khcy; &dcy;&ocy; &scy;&acy;&mcy;&ycy;&khcy; &ncy;&ocy;&vcy;&ycy;&khcy;, &vcy;&ycy;&chcy;&icy;&scy;&lcy;&icy;&vcy;  &quot;expected size&quot;  &pcy;&ucy;&tcy;&iecy;&mcy; &pcy;&ocy;&dcy;&scy;&chcy;&iecy;&tcy;&acy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &vcy; &pcy;&acy;&kcy;&iecy;&tcy;&iecy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy; &icy;&khcy; &ncy;&acy; &ocy;&bcy;&shchcy;&iecy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy;. &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &vcy; &pcy;&acy;&chcy;&kcy;&iecy; &icy; &ucy;&mcy;&ncy;&ocy;&zhcy;&softcy;&tcy;&iecy; &ncy;&acy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &pcy;&acy;&chcy;&kcy;&icy;. &Mcy;&ycy; &vcy;&ycy;&bcy;&icy;&rcy;&acy;&iecy;&mcy; &pcy;&acy;&kcy;&iecy;&tcy;&ycy; &scy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ycy;&mcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&ocy;&mcy; &ncy;&icy;&zhcy;&iecy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&acy; &pcy;&acy;&kcy;&iecy;&tcy;&acy; &dcy;&ocy; &tcy;&iecy;&khcy; &pcy;&ocy;&rcy;, &pcy;&ocy;&kcy;&acy; &ocy;&bcy;&shchcy;&icy;&jcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ycy;&jcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &ncy;&acy;&bcy;&ocy;&rcy;&acy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&vcy;&iecy;&ncy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&ucy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;, &icy;&lcy;&icy; &pcy;&ocy;&kcy;&acy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&ncy;&ycy; &vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&icy;&ncy; &pcy;&acy;&kcy;-&fcy;&acy;&jcy;&lcy;, &tcy;&ocy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy;. &IEcy;&scy;&lcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&ocy;&vcy;&ycy;&jcy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;, &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &mcy;&ucy;&lcy;&softcy;&tcy;&icy;&pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy; &scy;&scy;&ycy;&lcy;&acy;&lcy;&scy;&yacy; &ncy;&acy; &ncy;&ocy;&vcy;&ycy;&jcy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;. &Pcy;&rcy;&icy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&zcy;&dcy;&ncy;&iecy;&mcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy;  <code>git multi-pack-index expire</code>  &pcy;&acy;&kcy;-&fcy;&acy;&jcy;&lcy;&ycy;, &vcy;&khcy;&ocy;&dcy;&icy;&vcy;&shcy;&icy;&iecy; &vcy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&kcy;&iecy;&tcy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy;.</span></p> <p><span data-i18n="d4b75862decc6748479bf19235b5c68e30877db08d488663a8503e5bdc1b51e8/96" data-source="If &lt;code&gt;repack.packKeptObjects&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;, then any pack-files with an associated &lt;code&gt;.keep&lt;/code&gt; file will not be selected for the batch to repack." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>repack.packKeptObjects</code>  &mdash;  <code>false</code> , &tcy;&ocy; &lcy;&yucy;&bcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&icy; &scy;&ocy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy;  <code>.keep</code>  &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;&ycy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&icy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <ul> <li> <p><span data-i18n="c28013306ee0288488ac0205b378bb4764e3de0ad0312bb9d3ee9fd4ce0958f0/28" data-source="Write a MIDX file for the packfiles in the current &lt;code&gt;.git&lt;/code&gt; directory." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; MIDX &dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &pcy;&acy;&kcy;&iecy;&tcy;&acy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>.git</code> .</span></p> <div> <div> <pre class="hljs language-perl">$ git multi-<span class="hljs-keyword">pack</span>-<span class="hljs-keyword">index</span> <span class="hljs-keyword">write</span></pre> </div> </div> </li> <li> <p><span data-i18n="068d50fb86405d07bdb87001c409ff6723345a3348874ad241a031bf1753c119/90" data-source="Write a MIDX file for the packfiles in the current &lt;code&gt;.git&lt;/code&gt; directory with a corresponding bitmap." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; MIDX &dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &pcy;&acy;&kcy;&iecy;&tcy;&acy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>.git</code>  &scy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy; &rcy;&acy;&scy;&tcy;&rcy;&ocy;&vcy;&ycy;&mcy; &icy;&zcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&iecy;&mcy;.</span></p> <div> <div> <pre class="hljs language-perl">$ git multi-<span class="hljs-keyword">pack</span>-<span class="hljs-keyword">index</span> <span class="hljs-keyword">write</span> --preferred-<span class="hljs-keyword">pack</span>=&lt;<span class="hljs-keyword">pack</span>&gt; --bitmap</pre> </div> </div> </li> <li> <p><span data-i18n="ac4db9b12921095a05a3744f0d6de9adb7a7f7d25c3d03056025f8c5c8ef6365/c7" data-source="Write a MIDX file for the packfiles in an alternate object store." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; MIDX &dcy;&lcy;&yacy; &pcy;&acy;&kcy;&ocy;&vcy;&ocy;&chcy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;.</span></p> <div> <div> <pre class="hljs language-perl">$ git multi-<span class="hljs-keyword">pack</span>-<span class="hljs-keyword">index</span> --object-dir &lt;alt&gt; <span class="hljs-keyword">write</span></pre> </div> </div> </li> <li> <p><span data-i18n="cec3804697bce18047e6c13a54960cf9e2c44f8481e53fa62eb229dbd8296491/73" data-source="Verify the MIDX file for the packfiles in the current &lt;code&gt;.git&lt;/code&gt; directory." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; MIDX &ncy;&acy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &pcy;&acy;&kcy;&ocy;&vcy;&ocy;&chcy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>.git</code> .</span></p> <div> <div> <pre class="hljs language-perl">$ git multi-<span class="hljs-keyword">pack</span>-<span class="hljs-keyword">index</span> verify</pre> </div> </div> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><span data-i18n="f40eef50d8c660d0fb6b61d29fc86fec174152cef9d6bb0b36c7d00e29c20463/53" data-source="See &lt;a href=&quot;multi-pack-index&quot;&gt;The Multi-Pack-Index Design Document&lt;/a&gt; and &lt;a href=&quot;gitformat-pack&quot;&gt;gitformat-pack[5]&lt;/a&gt; for more information on the multi-pack-index feature and its file format." onmousemove="i18n(this)">&Scy;&mcy;.  <a href="multi-pack-index.html">The Multi-Pack-Index Design Document</a>  &icy;  <a href="gitformat-pack.html">gitformat-pack[5]</a>  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ocy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&icy; &mcy;&ucy;&lcy;&softcy;&tcy;&icy;&ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&icy;-&icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &icy; &iecy;&iecy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;.</span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-multi-pack-index">https://git-scm.com/docs/git-multi-pack-index</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                            <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-mv.html">
                            git mv                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-name-rev.html">
                            git name-rev                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-notes.html">
                            git notes                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-p4.html">
                            git p4                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-objects.html">
                            git pack-objects                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-redundant.html">
                            git pack-redundant                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-refs.html">
                            git pack-refs                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                   <ins class="adsbygoogle"
        style="display:block; text-align:center;"
        data-ad-layout="in-article"
        data-ad-format="fluid"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="3777011170"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-multi-pack-index.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>